package com.admin.common.constant;

/**
 * redis的key前缀常量
 * 
 * @author ZY
 * @date 2018/11/10
 */
public class RedisConstant {

    /**
     * 公告预览key
     */
    public static final String KEY_NOUNCE_PRIVIEW = "nounce_privew:";

    /**
     * H5预览key
     */
    public static final String KEY_WAP_PRIVIEW = "wap_privew:";

    /**
     * 公司退款凭证
     */
    public static final String KEY_COMPANY_REFUND_VOUCHER = "company_refund_voucher:";

    /**
     * 会员：全场活动信息
     */
    public static final String ACTIVITY_QC_INFO = "activity:qc:info";

    /**
     * 会员：全场活动商品信息
     */
    public static final String ACTIVITY_QC_GOODSLIST = "activity:qc:goodsList";

    // 代理商首单：购物车数据
    public static final String CART_AGENT_FIRST_ORDER = "cart:agentFirstOrder:";
    // 代理商：购物车数据
    public static final String CART_AGENT = "cart:agent:";
    // 用户token
    public static final String USER_TOKEN = "member:userToken:";

    /**
     * 曾经代理级别为1的用户
     */
    public static final String KEY_AGENT_HAS_BEEN_LEVEL_1 = "agent_has_been_level_1:";

    /**
     * 换入商品库存数
     */
    public static final String EXCHANGE_IN_GOODS_STOCK = "exchange:in:goods:stock:";
}
